/**
 * 
 */
package com.cqan.digital.rest;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.HttpHeaders;


import com.cqan.digital.entity.resp.DigitalPageResp;
import com.cqan.digital.entity.resp.DigitalResp;

/**
 * @Description TODO
 * @author slaton.wu@gmail.com
 * @date 2012-7-5下午3:47:57
 *
 */
@Path("/digital")
public interface DigitalRestService {

	@GET
	@Path("/getNodeInfo/{id}")
	public DigitalResp getNodeInfo(@PathParam("id")Long id,@Context HttpHeaders headers);
	
	/**
	 * 分布获取指定栏目下子栏目
	 * @return
	 */
	@GET
	@Path("/getNodesByPid/{id}/{pageNo}/{pageSize}")
	public DigitalPageResp getNodesByPid(@PathParam("id")Long id,@PathParam("pageNo")Integer pageNo,@PathParam("pageSize")Integer pageSize,@Context HttpHeaders headers);
}
